﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace JTTD.Domain.Dtos.CompanyUserInfo.Request
{
    /// <summary>
    /// 修改店铺
    /// </summary>
   public   class UpdateShopPwdRequestDto
    {
        /// <summary>
        /// 新密码
        /// </summary>
        [MaxLength(10,ErrorMessage ="新密码不能超过10个字符")]
        [Required(ErrorMessage ="新密码不能为空")]
        public string NewPwd { get; set; }

        /// <summary>
        /// 旧密码
        /// </summary>
        [Required(ErrorMessage ="旧密码不能为空")]
        public string OldPwd { get; set; }
    }
}
